package br.com.adimoveis.ui;

import java.awt.event.ActionListener;

import javax.swing.event.DocumentListener;
import javax.swing.event.ListSelectionListener;

public interface IView extends ISimpleView{
	
	void addMainframe(MainFrame frame);

	void addEditListener(ActionListener actionListener);

	void addExcluirListener(ActionListener actionListener);

	void addFiltroListener(DocumentListener documentListener);

	void addLimpaBuscaListener(ActionListener actionListener);

	void addNovoListener(ActionListener actionListener);

	void addSalvarListener(ActionListener actionListener);

	void enableEditBtn(boolean b);

	void enableSaveBtn(boolean b);
	
	void enableExcluirBtn(boolean b);
	
	String getFiltroText();
	
	void limpaBusca();
	
	void enableForm(boolean aneble);

	void addSelectionListener(ListSelectionListener listSelectionListener);

	Object getValueAt(int index, int i);

	void showFileNotFountMessage();

	int getSelectedIndex();

	void setSelectedIndex(int selectedIndex);

	int getRowCount();
}
